package com.sptus.mapper.slave;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sptus.common.annotation.DataSource;
import com.sptus.common.enums.DataSourceType;
import com.sptus.entity.SptUserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: spt_user_role
 * @Author: jeecg-boot
 * @Date:   2024-11-19
 * @Version: V1.0
 *
 */
@DataSource(DataSourceType.SLAVE)
//@DS("multi-datasource1")
public interface SptUserRoleMapper extends BaseMapper<SptUserRole> {

    List<String> getRoleCode(@Param("id") String id);
}
